package com.axjy.service.impl;

import com.axjy.dao.CysMapper;
import com.axjy.pojo.Cys;
import com.axjy.service.CysService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("CysService")
public class CysServiceImpl implements CysService{


    @Resource
    private CysMapper cysMapper;



    @Override
    public List<Cys> list(String mobile,String name,String address) {
        return cysMapper.list(mobile,name,address);
    }

    @Override
    public void add(Cys cys) {
        cysMapper.add(cys);
    }
}
